export JAVA_HOME=/opt/jdk-10.0.2

#sudo git pull https://gitee.com/wyh1615628795/tangula-web.git kashine
sudo git pull https://gitee.com/doss-wang/tangula-web.git kashine

cd /opt/kashine/tangula-web
gradle build -x test

kill -9 `ps aux |grep WebApp|awk '{ print $2}'`

nohup gradle bootRun &
